
body {
	margin: 0;
	padding: 40px 10px 10px 10px;
	font-family: Arial, Helvetica, sans-serif;
}

label{
	color: black;
	font-weight: bold;	
}

br {
    clear: both;
}

h1.pageTitle {
	margin: 0px 0 5px 0;
}

span.needsSaved {
    font-size: large;
    color: Red;
    margin-left: 10px;
    vertical-align: top;
}

#categorySection {
    width: 48%;
    padding: 5px;
    border: 1px outset lightblue;
    background: url(../images/texture_e5e5ffPSglass1.png) 0 0 repeat-x;
    float: left;
    margin: 0 0 5px 0;
}
    #txtScriptCategory {
        width:85%;
        padding: 1px 25px 4px 5px;
        border: 1px inset black;
    }
    
    #btnScriptCategoryArrow {
        position: relative;
        left: -22px;
        *left: -18px;
        *top: -6px;
        display: inline;
        vertical-align: text-top;
        background-position: -65px -13px;
        width: 18px;
        height: 23px;
        margin: 0px;
        border: 1px inset blue;
    }

#categoryList {
	border-style: solid;
	border-color: Blue #555555 #555555 Blue;
	border-width: 1px 4px 4px 1px;
    display: none;
    z-index: 100;
    position: absolute;
    background-color: White;
    max-height: 350px;
    overflow: auto;
}
    
    #categoryList DIV.categoryHeader {
        display: block;
        font-size: small;
        padding: 5px;
        background: url(../images/texture_e5e5ffPSglass1.png) scroll repeat-x 0 0 transparent;
        border-style: solid;
        border-width: 1px 0 1px 0;
        border-top-color: #ffffff;
        border-bottom-color: darkblue;
    }
		
		#categoryList DIV.categoryHeader LABEL 
		{
			margin: 0 0 0 10px;
			cursor: pointer;
		}
    
    #applianceExpand {
        cursor: pointer;
    }
    
    #applianceLabel {
        cursor: pointer;
        position: relative;
    }
    
    #applianceLabel SPAN.ui-icon 
    {
    	position: absolute;
    	left: 0px;
    	top: 5px;
    }
    
    #categoryApplianceList {
        display: none;
    }
    
    #categoryList ul {
        list-style-type: none;
        font-size: small;
        padding: 0px;
        margin: 5px 0;
    }
    
    #categoryList li {
        margin: 0px;
        cursor: pointer;
    }
    
    #categoryList li span {
        margin: 0 0 0 15px;
    }
    
    
    #categoryList li:hover {
        background-color: #FAE9B6;
    }
    


#titleSection {
    width: 48%;
    
    padding: 5px;
    border: 1px outset lightblue;
    background: url(../images/texture_e5e5ffPSglass1.png) 0 0 repeat-x;
    float: right;
}
    #titleSection.titleOK input {
        background-color: #CCFFCC;
    }
    
    #titleSection.titleOK .statusIcon {
        background-position: -208px 0px;
        vertical-align: middle;
    }

    #titleSection.titleInvalid input {
        background-color: #FF6666;
    }
    
    #titleSection.titleInvalid .statusIcon {
        background-position: -233px 0px;
        vertical-align: middle;
    }

    #txtScriptTitle{
	    width: 90%;
	    padding: 0 0 4px 5px;
	    height: 16px;
	    border: 1px inset black;
    	
    }
    
    #titleErrorMsg {
        float:right;
        color: Red;
        display: none;
        font-size: small;
    }

.scriptMenuItem, .scriptMenuItemDropDown {
	border: 2px groove blue;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	background-color: #ebebff;
}

.scriptMenu{
	margin-bottom: 20px;
	border-top: 3px solid white;
	border-bottom: 2px solid steelblue;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	background-color: #ebebff;
	background: url(../Images/texture_d6d6ffGlossWave400.png) repeat scroll 0 -15px #ebebff;
	position: fixed;
	width: 100%;
	left: 0px;
	top: 0px;
	z-index: 1000;
}

.scriptMenuItem {
	padding-left: 5px;
	cursor: pointer;
	width: 70px;
	border-color: #dddddd;
}

.scriptMenuItem:hover {
	border-color: #bbbbbb;
}

.scriptMenuItem.selected {
	background-color: #FAE9B6;
	border: 2px inset #ffffff;
}


.scriptMenuItemDropDown {
	position:absolute;
	display: none;
	width: 120px;
	z-index: 1000;
	border-style: solid;
	border-color: Black #555555 #555555 Black;
	border-width: 1px 4px 4px 1px;
	background-color: #ffffff;
}

.scriptMenuItemDropDown ul {
	padding-left: 1px;
	margin: 0px;
	list-style: none;
}

.scriptMenuItemDropDown li {
	margin: 5px 1px;
	cursor: pointer;
	position: relative;
}

.scriptMenuItemDropDown li span.ui-icon {
	position: absolute;
	left: 0px;
	top: 0px;
}

.scriptMenuItemDropDown li span.menuLabel {
	padding: 0px 5px;
	margin: 0 0 0 15px;
	cursor: pointer;
}

.scriptMenuItemDropDown li.divider{
	border-bottom: 1px solid #bbbbbb;
}

.scriptMenuItemDropDown li:hover {
	background-color: #FAE9B6;
}



#content{
	border: 3px solid black;
	background-color: #dddddd;
	padding: 10px;
}

button{
	border: 2px groove #ffffff;
	background-color: transparent;
	padding: 2px;
	_padding: 2px;
	margin: 1px 0;
	cursor: pointer;
}

button:hover{
	border-color: #bbbbbb;
	background-color: #FAE9B6;
}

.scriptBlock{ /* see also li.scriptDecision .scriptBlock for more .scriptBlock styles */
	border: 2px inset #444444;
	padding: 5px;
	margin-top: 4px;
	position: relative;
	background: url(../Images/texture_aaaaaaDiamonds.png);
	background-color: #aaaaaa;
	cursor:default;
}
	
	.scriptBlockMenu{
		background-color: #dddddd;
		border-width: 1px 1px 0 1px;
		border-style: solid;
		border-color: white;
		padding: 1px 0 1px 5px;
		margin: 0 1px 0 1px;
		position: relative;
	}
	

	
	.scriptBlockMenu .btnExit{
		position: absolute;
		top: 1px;
		right: 5px;
	}

	.scriptText{
		background-color: #dddddd;
		border: 1px solid gray;
		padding: 5px;
		min-height: 200px;
	}
	
.decisionBlock{
	border : 2px inset #000099;
	background-color: #DFFFDF;
	padding: 10px;
	margin: 5px;
	background: url(../Images/texture_bbbbbbHoneyComb.png);
	background-color: #cccccc;
}

	.decisionBlockLabelExpand {
		display: inline-block;
		width: 17px;
		height: 17px;
		cursor: pointer;
		background: url(../Images/generalSprites.png) no-repeat -67px 0;	
		vertical-align: middle;
	}
	
	.decisionBlockLabelCollapse {
		display: inline-block;
		width: 17px;
		height: 17px;
		cursor: pointer;
		background: url(../Images/generalSprites.png) no-repeat -86px 0;
		vertical-align: middle;	
	}
	
	.decisionBlockLabel{
		margin-left: 0px;
		vertical-align: middle;
		cursor: pointer;
	}
	
		.decisionBlockLabel:hover{
			color: #0055ee;
		}

ul.scriptDecisions{
	list-style: none;
	padding: 0px;
	margin: 0px;
}

	li.scriptDecision{
		border: 2px outset Blue;
		padding: 5px;
		margin-bottom: 5px;
		color: black;
		background: url(../Images/texture_ececeeHorizontalLines.png);
		background-color: #ececee;
		font-weight: normal;
		position: relative;
		cursor: n-resize;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        behavior: url(PIE.htc);
	}

		li.scriptDecision:hover{
			background: #b5ffc7 !important;
			border: 2px solid yellow;
		}

		li.scriptDecision.addNew{
			background: url(../Images/texture_ccccccGlossWave500.png) repeat scroll 50% 60% lightGray;
			background-color: lightGray; /* LightGoldenRodYellow; */
		}

		li.scriptDecision:hover > .decisionBlock{
			border: 2px solid yellow;
		}

		li.scriptDecision:hover > .scriptBlock{
			border: 2px solid yellow;
		}
		
		li.scriptDecision .btnDelete{
			position: absolute;
			right: 5px;
			top: 2px;
		}

		.decisionExpand {
			display: inline-block;
			width: 17px;
			height: 17px;
			cursor: pointer;
			background: url(../Images/generalSprites.png) no-repeat -67px 0;	
			vertical-align: middle;
		}
		
		.decisionCollapse {
			display: inline-block;
			width: 17px;
			height: 17px;
			cursor: pointer;
			background: url(../Images/generalSprites.png) no-repeat -86px 0;
			vertical-align: middle;	
		}
		
		.decisionTitle{
			margin-left: 10px;
			vertical-align: middle;
			cursor: pointer;
		}
		
			.decisionTitle:hover{
				color: #0055ee;
			}
			
			.txtDecisionTitle{
				width: 60%;
				margin-bottom: 5px;
			}

	li.scriptDecision.editMode{
		background: url(../Images/texture_lightBlueHorizontalLines.png);
	}
		
	.scriptBlock.editMode{
		background:url(../Images/texture_57718eDiamonds.png);
	}
	
	.scriptBlock.editMode >.decisionBlock {
        background: url(../Images/texture_lightBlueHoneycombs.png);	
    }	
		
    .scriptBlock.editMode >.decisionBlock >ul.scriptDecisions  >li.scriptDecision{
        background: url(../Images/texture_e5fff1HorizontalLines.png);
    }
    
    .scriptBlock.editMode >.decisionBlock >ul.scriptDecisions  >li.scriptDecision.addNew{
        background: url(../Images/texture_d6d6ffGlossWave400.png);
    }
    
    .scriptBlock.editMode >.scriptBlockMenu{
		background-color: #eeeeee;
		margin: 0 1px 0 1px;
	}
	
	.scriptBlock.editMode >.scriptBlockMenu button{
		border-color: #cccccc;
	}

.breadCrumb{
	color: white;
	font-weight: bold;
	font-style: italic;
	font-size: x-small;
	margin-bottom: 5px;
	padding: 1px 1px 1px 3px;
	border: 1px solid lightgray;
}


/* ================================================ */
/* DIALOGS */

#dlgOpenScript {
    padding: 5px;
}

#dlgOpenScript_ListContainer {
    width: 100%;
    overflow: auto;
    border: 1px solid black;
}

    #dlgOpenScript_ListContainer table {
        border: 1px solid transparent;
        width: 100%;
    }
    
    #dlgOpenScript_ListContainer th {
        border: 1px solid black;
        background: url(../Images/texture_blueGloss20.png) 0 0 repeat;
        font-weight: normal;
        padding: 1px 5px;
    }
    
    #dlgOpenScript_ListContainer th.sorted {
        font-weight: bold;
    }
    
    #dlgOpenScript_ListContainer td {
        padding: 5px 0px;
        font-size: small;
        padding-left: 5px;
    }
    
    #dlgOpenScript_ListContainer td a {
        color: Blue;
    }
    
    #dlgOpenScript_ListContainer tr.dlgOpenScript_SelectableRow {
        cursor: pointer;
    }
    
        #dlgOpenScript_ListContainer tr.dlgOpenScript_SelectableRow:hover {
            background-color: #FAE9B6;
        }



#dlgPreviewScript {
    padding: 5px;
    overflow: hidden;
}

    #dlgPreviewScript_PleaseWait {
        position: relative;
        border: 1px solid gray;
        height: 100%;
    }
    
    #dlgPreviewScript_content {
        width: 100%;
        border: 1px solid gray;
        height: 100%;
    }
    
    
    
#dlgExport {
	padding: 5px;
	overflow: hidden;
}
	#dlgExport_Content {
		width: 100%;
		height: 100%;
	}
	
	#dlgExport_Content IFRAME {
		display: none;
	}
	


#dlgImport 
{
	padding: 5px;
	overflow: hidden;
}
	#dlgImport_Content
	{
		width: 100%;
		height: 100%;
	}
	
	#dlgImport_Content form label.caption 
	{
		font-weight: bold;
		font-size: small;
	}
	
	#dlgImport_Content form input
	{
		margin-top: 5px;
	}
	
	#dlgImport_Content .btnContainer
	{
		bottom: 0;
		margin: 0 10px 5px 0;
		position: absolute;
		right: 0;
	}
	
		#dlgImport_btnCancel
		{
			margin-left: 20px;
		}
		
		#dlgImport_Content IFRAME 
		{
			display: none;
		}
		
		#dlgImport_Content .status.success 
		{
			font-size: large;
			color: darkgreen;
			margin-bottom: 10px;
		}
		
		#dlgImport_Content .status.failed 
		{
			font-size: small;
			color: darkred;
			margin-bottom: 35px;
		}
		